| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Renderer.h
1 // Renderer.h
3 //
5
6 namespace nkGraphics
7 {
19 class Renderer
20 {
21 public :
22
26 Renderer () noexcept ;
30 virtual ~Renderer () ;
31
32 // Getters
38 virtual DataAllocator* getAllocator () const = 0 ;
42 virtual RendererSupportInfo getRendererSupportInfo () const = 0 ;
50 virtual nkMemory::UniquePtr<nkExport::Node> getStats () const = 0 ;
78 virtual RendererAbstractData getInternalData () const ;
82 RENDERING_API getRenderApi () const ;
83
91 virtual bool initialize (const Configuration& config) = 0 ;
98 virtual bool initiateBuiltInShaders () = 0 ;
105 virtual bool postGraphicSystemInit () = 0 ;
110 virtual void prepareForRelease () = 0 ;
117 virtual bool shutdown () = 0 ;
118
119 // Flushs forcés
128 virtual void flushRendering () = 0 ;
129
130 // Rendering steps
135 virtual void preRenderRoutine () = 0 ;
140 virtual void postRenderRoutine () = 0 ;
141 } ;
142 }
nkGraphics::Renderer::getInternalData
virtual RendererAbstractData getInternalData() const
nkGraphics::Renderer::postGraphicSystemInit
virtual bool postGraphicSystemInit()=0
nkGraphics::Renderer::getRendererSupportInfo
virtual RendererSupportInfo getRendererSupportInfo() const =0
nkGraphics::Renderer::postRenderRoutine
virtual void postRenderRoutine()=0
nkGraphics::RENDERING_API
RENDERING_API
Enumerates supported graphics API.
Definition: RenderingApi.h:14
nkGraphics::Renderer::getAllocator
virtual DataAllocator * getAllocator() const =0
nkExport
Encompasses all API of component NilkinsExport.
Definition: Base64Encoder.h:7
nkGraphics::Renderer::flushRendering
virtual void flushRendering()=0
nkGraphics::Renderer
A renderer, implementing the logic of using a graphics API.
Definition: Renderer.h:20
nkGraphics::Renderer::shutdown
virtual bool shutdown()=0
nkGraphics::Renderer::getRenderApi
RENDERING_API getRenderApi() const
nkGraphics::Renderer::Renderer
Renderer() noexcept
nkGraphics::Configuration
Configuration for the system's initialization.
Definition: Configuration.h:12
nkGraphics::Renderer::prepareForRelease
virtual void prepareForRelease()=0
nkGraphics::Renderer::getStats
virtual nkMemory::UniquePtr< nkExport::Node > getStats() const =0
nkGraphics::Renderer::initialize
virtual bool initialize(const Configuration &config)=0
nkGraphics::Renderer::preRenderRoutine
virtual void preRenderRoutine()=0
nkGraphics::Node
Represents a node in a scene graph.
Definition: Node.h:16
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::RendererAbstractData
Encapsulates internals a Renderer can expose as a [key -> value] dictionary.
Definition: RendererAbstractData.h:12
nkGraphics::Renderer::initiateBuiltInShaders
virtual bool initiateBuiltInShaders()=0
nkGraphics::RendererSupportInfo
Informations about the supported features.
Definition: RendererSupportInfo.h:12
nkMemory
Encompasses all API of component NilkinsMemory.
Definition: Allocator.h:7